home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / share / doc / redland-utils / FAQS.html < prev    next >
Encoding:
Extensible Markup Language  |  2009-04-12  |  9.2 KB  |  226 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  4. <head>
  5.   <title>Redland RDF Application Framework - Frequently Asked Questions (FAQs)</title>
  6. </head>
  7. <body>
  8.  
  9. <h1>Redland RDF Application Framework - Frequently Asked Questions (FAQs)</h1>
  10.  
  11.  
  12. <ol>
  13.  
  14. <li>What is the license?
  15.  
  16. <p>Redland is
  17. <a href="http://www.gnu.org/philosophy/free-sw.html">Free Software</a>,
  18. or
  19. <a href="http://www.opensource.org/">Open Source</a> if you prefer.
  20. </p>
  21. </li>
  22.  
  23. <li>Why is the code released under two licenses - LGPL and Apache 2?
  24.  
  25. <p>I originally considered solely a GPL version of the library but
  26. this was too restrictive, hence the LGPL version.  LGPL also
  27. allows the user, at their choice, to license the software under the
  28. GPL (See LGPL Term 3) in which case this software can also be used
  29. with all the other GPLed code -- see next answer.</p>
  30.  
  31. <p>As an alternative, the entire library can be used under the terms
  32. of the 
  33. <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>
  34. which allows you use the library in most situations.</p>
  35. </li>
  36.  
  37. <li>Can I link this library with code under license XXX?
  38.  
  39. <p>Firstly, I am not a lawyer, so seek your own legal advice if you
  40. care about it seriously.  However, here is an overview of how you
  41. can use this software:</p>
  42.  
  43. <ul>
  44. <li>If you choose the LGPL/GPL licenses, the <a href="http://www.gnu.org/philosophy/license-list.html">GNU project list of licenses page</a> says that you can link the following licensed software with the code:<br />
  45. GPLed, LGPLed, Guile, GNU Ada, X11, Expat, Standard ML of NJ, Cryptix, modified BSD, zlib,iMatrix, W3C, Berkeley/Sleepycat Database, OpenLDAP, Python 1.6a2 earlier, Python 2.0.1,2.1.1 and later, Perl (as GPL), Clarified Artistic, Artistic 2.0, Zope 2.0, Intel OSL, Netscape JavaScript, eCOS 2.0, Eiffel V2<br />
  46. and <b>not</b> these types:<br />
  47. Affero, Arphic, original BSD, Original BSD, AFL 1.1, OSL 1.0, Apache 1.0, Apache 1.1, Zope V1, xinetd, Python 1.6b1+ and 2.0 and 2.1, OpenLDAP V2.3, Vim 5.7, IBM PL 1.0, Phorum V1.2, LaTeX (LPPL), MPL, NOSL 1.0, Interbase 1.0, Sun PL, Nokia OSL, Netscape PL, Jabber OSL 1.0, Sun ISSL 1.0, QPL 1.0, Freetype License, PHP License, Zend License<br />
  48. check the link above for updates, since the above is not a definitive
  49. list.</li>
  50.  
  51. <li>If you choose Apache 2.0, you should be able to
  52. link with most anything.  There is presently a
  53. debate on whether the (L)GPL2 is compatible with Apache 2.0
  54. (FSF says no, ASF says yes) so when linking with LGPL or GPLed
  55. code it makes sense to pick either of the LGPL or GPL licenses.</li>
  56. </ul>
  57. </li>
  58.  
  59. <li>Why is Redland written in C?
  60.  
  61. <p>Writing in C allows reuse in lots of ways and the library should
  62. be easy to call from languages since most of them allow importing of
  63. C libraries or calling of C functions.</p>
  64.  
  65. <p>C is also more "portable" (subject to the usual C problems) and
  66. should be compilable on many different systems.  I have access to
  67. and have built it on (at various times):</p>
  68.  
  69. <p>Redhat 7-9, Redhat Fedora Core 1-4, Gentoo, Debian 3.0/unstable
  70. GNU/Linux (x86); Solaris 2.5, 7, 8, 9 (Sparc); OSX 10.2, 10.3, 10.4
  71. (PPC); Debian GNU/Linux (DEC Alpha); FreeBSD 4.7-4.9 (x86); HP-UX 10,
  72. OpenBSD, NetBSD and more more.  The release announcements for
  73. the packages typically list the systems that it has been tested on..</p>
  74.  
  75. <p>it configured, built and tested out of the box on all of these (C
  76. interface; the other language APIs depend on the particular support
  77. of each OS).</p>
  78.  
  79. <p>See also the W3C Library note on
  80. <a href="http://www.w3.org/Library/User/Style/Cpp.html">C++ in C</a>
  81. which covers some of these issues, although I wrote the library before
  82. finding this.</p>
  83. </li>
  84.  
  85. <li>Why is it called Redland?
  86.  
  87. <p>Well, librdf was too boring <tt>:)</tt>!  When I originally
  88. created it, I worked for
  89. the <a href="http://www.bristol.ac.uk/">University of Bristol</a>
  90. and lived in the <em>Redland</em> area of Bristol which has an 'R' and a 'D'
  91. in the name.  Plus I couldn't find a decent word with the letters 'RDF'
  92. in it.  Years later I realised there's an area of Bristol called
  93. Redcliffe, but that opportunity has passed.</p>
  94. </li>
  95.  
  96. <li>Redmond?
  97.  
  98. <p>No. It is named after Redland which is a region of Bristol, UK.
  99. Not related to an area near Seattle, Washington State, USA.</p>
  100. </li>
  101.  
  102. <li>Where is the <em>LANG</em> higher-level language interface?
  103.  
  104. <p>Redland provides 7 language interfaces (at 2004-01-30)
  105. via <a href="http://www.swig.org/">SWIG</a>.  If SWIG does another
  106. language you want and supports it, you should be able to build one
  107. yourself relatively easily, following the existing scheme.</p>
  108.  
  109. </li>
  110.  
  111. <li>Does it support an RDF query language?<br />
  112.  
  113. <p>Yes.  As of Redland 0.9.18, Redland ships with
  114. <a href="http://librdf.org/rasqal/">Rasqal</a>
  115. supporting RDQL.  Redland Bindings 0.9.18.1 provides APIS for querying
  116. and query results in several langauges.
  117. </p>
  118.  
  119. </li>
  120.  
  121. <li>Does it run on MS Windows?<br />
  122.  
  123. <p>Yes, from reports others have had success compiling the Redland
  124. libraries for win32.  As of Redland 1.0.0 there are packaged pre-built
  125. DLLs for redland available from the
  126. <a href="http://download.librdf.org/binaries/win32/">download site</a>,
  127. including some language bindings.
  128. </p>
  129.  
  130. <p>With respect to portability and "unix"-isms in the code, they are
  131. flagged in comments and only related to file name handling and maybe in
  132. creating temporary files.  Raptor's URI module handles win32
  133. file URI combinations which have been working for win32 users.</p>
  134.  
  135. <p>The Redland libraries all build under the <a
  136. href="http://cygwin.com/">Cygwin</a> environment relatively easily
  137. using the standard configure and make system.
  138. </p>
  139. </li>
  140.  
  141. <li>Does it run on Apple OSX?<br />
  142. <p>Yes.  The most recent version of this operating system has most of
  143. the basic requirements for using Redland and Raptor - an XML parser
  144. (in 10.3 onwards). You may need to install the Apple Developer Tools/XCode
  145. to get all the standard GNU toolchain, make, autotools and other
  146. things needed to build from CVS.  Another alternative is to
  147. install the <a href="http://fink.sourceforge.net/">Fink</a> environment
  148. which also provides the developent tools.  Particular things needed
  149. include Berkeley/Sleepcat DB, libxml2 and would benefit from libcurl.
  150. </p>
  151. </li>
  152.  
  153. <li>Redland and Raptor - what are they?<br />
  154.  
  155. <p><a href="http://librdf.org/">Redland</a> is the
  156. RDF library written in C and including several high-level language
  157. APIs providing RDF manipulation and storage.  Redland requires Raptor
  158. and cannot be used without it since it uses URI and WWW retrieval
  159. parts even if no parsing is being performed.  The Redland sources
  160. currently include Raptor, although this may change.</p>
  161.  
  162. <p><a href="http://librdf.org/raptor/">Raptor</a> is the
  163. RDF parser library written in C dealing with reading RDF/XML and N-Triples
  164. syntaxes (more eventually) into RDF triples.  It is an entirely
  165. standalone and separate library from Redland, developed and released
  166. on a different schedule.</p>
  167. </li>
  168.  
  169. <li>Rasqal?<br />
  170. <p>The <strong>R</strong>DF <strong>S</strong>yntax and <strong>Q</strong>uery <strong>L</strong>ibrary for Redland,
  171. pronounced "rascal" - thanks to Phil McCarthy for the name.
  172. You can also blame 
  173. <a href="http://www.talklikeapirate.com/">Talk Like a Pirate Day</a>
  174. and
  175. <a href="http://pirates.movies.com/">Pirates of the Caribbean -- The Curse of The Black Pearl</a>.  Arrrr!
  176. </p>
  177. </li>
  178.  
  179. <li>Why was the license changed from LGPL/MPL to LGPL/Apache?<br />
  180. <p>I outlined my reasons in my
  181. <a href="http://lists.usefulinc.com/pipermail/redland-dev/2004-August/000607.html">message to redland-dev</a> 2004-08-27:
  182. </p>
  183. <blockquote>
  184. <p>In my opinion, the MPL isn't very widely used - it is mostly used by
  185. the Mozilla project for the browser and it's components.  It is based
  186. in US law and rather long(*).  This means there is a cost in
  187. evaluating it, so people tend to use Redland's LGPL/GPL terms since
  188. they are one of the most used licenses.</p>
  189.  
  190. <p>The Apache 2.0 license[1] has had widespread and detailed
  191. consideration including issues with international law.  It is a
  192. modern license, clear to read and easy to apply.  All the Apache
  193. Software Foundation (ASF) projects either use it or will be switching
  194. to it, and there are lots of similarly licensed BSD-style work that
  195. are compatible.  It provides good terms for commercial users,
  196. requiring just acknowledgement notices.  I've not written the notices
  197. I'd use for Redland yet.</p>
  198.  
  199. <p>I think anyone who was using the Redland libraries under the MPL will
  200. be fine with the Apache 2.0 license.  Of the commercial users I am
  201. aware of, they are using the libraries under the LGPL so this
  202. shouldn't affect them, or even be beneficial.</p>
  203.  
  204. <p>So why not Apache 2.0 alone?  There is still a dispute if it is
  205. compatible with the GPL, and until the FSF and the ASF both agree
  206. that they are compatible, I will be including explicit GPL
  207. compatibility by using the LGPL 2.1.</p>
  208.  
  209. ...
  210.  
  211. Dave
  212.  
  213. <p>(*) Yes so is the GPL/LGPL, but they are very common and familiar.</p>
  214.  
  215. </blockquote>
  216. </li>
  217.  
  218. </ol>
  219.  
  220. <hr />
  221.  
  222. <p>Copyright (C) 2000-2009 <a href="http://www.dajobe.org/">Dave Beckett</a><br />Copyright (C) 2000-2004, <a href="http://www.bristol.ac.uk/">University of Bristol</a></p>
  223.  
  224. </body>
  225. </html>
  226.